package com.aw.jsr303.ejemplo001;

import javax.validation.Constraint;
import javax.validation.Payload;
import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

/**
 * User: gmc
 * Date: 30/06/2010
 */
@Target({TYPE})
@Retention(RUNTIME)
@Constraint(validatedBy = RucInfoValidator.class)
@Documented
public @interface RucInfoChecker {
    String message() default "com.aw.jsr303.ejemplo001.constraint.rucinfochecker";

    Class<?>[] groups() default {};

    Class<? extends Payload>[] payload() default {};
}